<ion-view view-title="荣誉榜">
    <ion-content>
        <ion-refresher pulling-text="刷新" on-refresh="moreUser()">
        </ion-refresher>

        <div class="list card honor-box" ng-repeat="user in users">
            <div class="honor-body">
                <div class="item item-divider">{{user.name}}</div>
                <div class="item item-body">
                    <label class="item item-input">
                        <span class="input-label text-right" style="width: 80px;">名称:</span>
                        <span ng-bind="user.name"></span>
                    </label>
                    <label class="item item-input">
                        <span class="input-label text-right" style="width: 80px;">职业:</span>
                        <span ng-bind="user.profession"></span>
                    </label>
                    <label class="item item-input">
                        <span class="input-label text-right" style="width: 80px;">积分:</span>
                        <span ng-bind="user.score | fen"></span>
                    </label>
                    <label class="item item-input">
                        <span class="input-label text-right" style="width: 80px;">挑战次数:</span>
                        <span ng-bind="user.battles | ci"></span>
                    </label>
                    <label class="item item-input">
                        <span class="input-label text-right" style="width: 80px;">逃跑次数:</span>
                        <span ng-bind="user.flee | ci"></span>
                    </label>
                    <!--
                    <label class="item item-input">
                        <span class="input-label text-right" style="width: 80px;">职业:</span>
                        <span ng-bind="user.profession"></span>
                    </label>
                    <label class="item item-input">
                        <span class="input-label text-right" style="width: 80px;">积分:</span>
                        <span ng-bind="user.score || 0"></span>分
                    </label>
                    <label class="item item-input">
                        <span class="input-label text-right" style="width: 80px;">挑战次数:</span>
                        <span ng-bind="user.battles || 0"></span>次
                    </label>
                    <label class="item item-input">
                        <span class="input-label text-right" style="width: 80px;">逃跑次数:</span>
                        <span ng-bind="user.flee || 0"></span>次
                    </label>
                    -->
                </div>
            </div>
            <div class="name h{{$index%3}}" ng-bind="user.name"></div>
        </div>


        <!--
        <div class="text-center" style="margin-top:15px;">
            <a ng-show="showUserMore" ng-click="moreUser()">更多</a>
        </div>
        -->
    </ion-content>
</ion-view>
